package com.bocai.mapper;

import com.bocai.bean.CardInfo;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

public interface CardInfoMapper {
    int deleteByPrimaryKey(Integer cardId);

    int insert(CardInfo record);

    int insertSelective(CardInfo record);

    CardInfo selectByPrimaryKey(Integer cardId);

    int updateByPrimaryKeySelective(CardInfo record);

    int updateByPrimaryKey(CardInfo record);

    CardInfo selectByMoney(BigDecimal cardMoney);

    int updateByMoney(Map<String, Object> map);

    CardInfo selectCardInFo();
}